package csc.fresher.dao;




import java.util.List;

import csc.fresher.entity.SystemRecordLogin;
import csc.fresher.entity.SystemUser;

public interface SystemUserDao {
	public long createSystemUser(SystemUser systemUser);
	public void updateSystemUser(SystemUser systemUser);
	public SystemUser get1SystemUserByID(long systemUserID);
	public List<SystemUser> getSystemUser();
	public List<SystemUser> getSystemUserByID(long systemUserID);
	public List<SystemUser> getSystemUserByState(String systemUserState);
	public List<SystemUser> getSystemUserByFirstName(String firstName);
	public List<SystemUser> getSystemUserByPhoneNumber(String phoneNumber);
	public List<SystemUser> getSystemUserByAddress(String address);
	
	public long createRecordLogin(SystemRecordLogin systemRecordLogin);
	public long getSystemUserIDByUserName(String userName);
	public List<Long> getRoleByUserName(String username);
	
	public void changeSystemUserStatetoActive(SystemUser systemUser);
	public void changeSystemUserStatetoDeactive(SystemUser systemUser);
}
